package com.tzy.note.base.spring.custom.myautowired;

public class UserController {

    //@Autowired ->在没有spring框架情况下，怎么实现这个注解
    @MyAutowired
    private UserService userService;

    public UserService getUserService() {
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }
}
